package com.bailu.zsb_back.entity;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author dell
 */
@Data
public class Book {
    private int id;
    private String name;
    private String descri;
    private String author;
    private String pub;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pubDate;
    private double price;
    private String img;
    private int tid;
}
